<?php
/**
 * Requete pour les villes
 * @author Nicolas Genevaux
 * (c)nige 2008
 */
	define(VILLE_INSERT,'INSERT INTO ville (nom) VALUES ("$0")');
	define(VILLE_CPT,'SELECT COUNT(*) AS total FROM ville WHERE nom="$0"');
	define(VILLE_SELECT,'SELECT idville AS value,nom FROM ville ORDER BY nom');
	define(VILLE_SELECT_NOM,'SELECT nom FROM ville WHERE idville="$0"');
	define(VILLE_UPDATE,'UPDATE ville SET nom="$1" WHERE idville="$0"');
?>
